package net.zoneland.geological.usermanage.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * 表   名：TBL_USER_DATAPERMISSION<br/>
 * 注   释：用户数据权限配置表<br/>
 * 作   者：李义<br/>
 * 日   期：2017-08-09 18:46:00
**/
public class Tbl_user_datapermission implements Serializable { 

	private static final long serialVersionUID = 1L;

	/**
	 * 是否已删除
	**/
	public Integer getDeleted(){
		return this.deleted;
	}

	/**
	 * 是否已删除
	**/
	public void setDeleted(Integer _deleted ){
		this.deleted = _deleted;
	}

	/**
	 * ID
	**/
	public String getId(){
		return this.id == null ? "":this.id.trim() ;
	}

	/**
	 * ID
	**/
	public void setId(String _id ){
		this.id = ( _id == null ? "":_id.trim() );
	}

	/**
	 * 说明
	**/
	public String getDescription(){
		return this.description == null ? "":this.description.trim() ;
	}

	/**
	 * 说明
	**/
	public void setDescription(String _description ){
		this.description = ( _description == null ? "":_description.trim() );
	}

	/**
	 * 信息版本号
	**/
	public Integer getVersion(){
		return this.version;
	}

	/**
	 * 信息版本号
	**/
	public void setVersion(Integer _version ){
		this.version = _version;
	}

	/**
	 * 更新时间
	**/
	public Date getUpdate_time(){
		return this.update_time;
	}

	/**
	 * 更新时间
	**/
	public void setUpdate_time(Date _update_time ){
		this.update_time = _update_time;
	}

	/**
	 * 权限级别：PROVINCE|CITY|COUNTY|PROJECT|ZHT|STATION
	**/
	public String getPerm_level(){
		return this.perm_level == null ? "":this.perm_level.trim() ;
	}

	/**
	 * 权限级别：PROVINCE|CITY|COUNTY|PROJECT|ZHT|STATION
	**/
	public void setPerm_level(String _perm_level ){
		this.perm_level = ( _perm_level == null ? "":_perm_level.trim() );
	}

	/**
	 * 创建时间
	**/
	public Date getCreate_time(){
		return this.create_time;
	}

	/**
	 * 创建时间
	**/
	public void setCreate_time(Date _create_time ){
		this.create_time = _create_time;
	}

	/**
	 * 权限值：地区编码|项目ID|灾害体ID|站点ID
	**/
	public String getPerm_code(){
		return this.perm_code == null ? "":this.perm_code.trim() ;
	}

	/**
	 * 权限值：地区编码|项目ID|灾害体ID|站点ID
	**/
	public void setPerm_code(String _perm_code ){
		this.perm_code = ( _perm_code == null ? "":_perm_code.trim() );
	}

	public String getObject_code() {
		return object_code;
	}

	public String getObject_name() {
		return object_name;
	}

	public String getObject_type() {
		return object_type;
	}

	public void setObject_code(String object_code) {
		this.object_code = object_code;
	}

	public void setObject_name(String object_name) {
		this.object_name = object_name;
	}

	public void setObject_type(String object_type) {
		this.object_type = object_type;
	}



	/**
	 * 类属性声明
	**/
	/**
	 * 是否已删除
	**/
	private Integer deleted = 0;
	/**
	 * ID
	**/
	private String id =  UUID.randomUUID().toString();
	/**
	 * 说明
	**/
	private String description = "";
	/**
	 * 信息版本号
	**/
	private Integer version = 0;
	/**
	 * 更新时间
	**/
	private Date update_time = null;
	/**
	 * 权限级别：PROVINCE|CITY|COUNTY|PROJECT|ZHT|STATION
	**/
	private String perm_level = "";
	/**
	 * 创建时间
	**/
	private Date create_time = null;
	/**
	 * 权限值：地区编码|项目ID|灾害体ID|站点ID
	**/
	private String perm_code = "";
	/**
	 * 用户ID
	**/
	private String object_code = "";
	/**
	 * 用户登录名
	**/
	private String object_name = "";
	
	/**
	 * 绑定权限的对象类别：USER|ROLE
	**/
	private String object_type = "USER";
}
